package models

// 用户关注用户
type UserFollowing struct {
	FollowerID  uint `gorm:"primaryKey"`
	FollowingID uint `gorm:"primaryKey"`
}

// 用户关注话题
type UserFollowingTopic struct {
	UserID  uint `gorm:"primaryKey"`
	TopicID uint `gorm:"primaryKey"`
}

// 用户关注问题
type UserFollowingQuestion struct {
	UserID     uint `gorm:"primaryKey"`
	QuestionID uint `gorm:"primaryKey"`
}

// 问题-话题关联
type QuestionTopic struct {
	QuestionID uint `gorm:"primaryKey"`
	TopicID    uint `gorm:"primaryKey"`
}

// 用户点赞答案
type UserLikingAnswer struct {
	UserID   uint `gorm:"primaryKey"`
	AnswerID uint `gorm:"primaryKey"`
}

// 用户收藏答案
type UserCollectingAnswer struct {
	UserID   uint `gorm:"primaryKey"`
	AnswerID uint `gorm:"primaryKey"`
}
